

// 引入页面
import Home from '@/views/Home'
import Data from '@/views/Data'
import User from '@/views/User'
import About from '@/views/About'
import Login from '@/views/Login'
import cUserInfo from '@/views/cUserInfo'
import cPassword from '@/views/cPassword'
import detail from '@/views/detail'


// 创建路由对象
const routes = [
  {
    path: '/',
    component: Home
  },
  {
    path: '/data',
    component: Data
  },
  {
    path: '/user',
    component: User
  },
  {
    path: '/about',
    component: About
  },
  {
    path: '/login',
    component: Login
  },
  {
    path:'/cuserinfo',
    component:cUserInfo
  },
  {
    path:'/cpassword',
    component:cPassword
  },
  {
    path:'/detail',
    component:detail
  }
]


// 抛出路由对象
export default routes